package cn.jaye.fabric.application.command.chaincode;

import cn.jaye.fabric.common.model.BaseCommand;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * @author Jaye
 * @create 2018-05-02 11:52
 */
@Setter
@Getter
public class ChainCodeCommand extends BaseCommand {
    @NotEmpty(message = "chaincode名称不能为空")
    private String name;
    @NotEmpty(message = "chaincode版本不能为空")
    private String version;
    private String path;
    private String location;
    private String fcn;
    private Object args;
}
